package com.itheima.mapper;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author :WuJunJie
 * packageName :com.itheima.mapper
 * fileName :UserMapper
 * creationTime :2022-11-29 9:51
 */
@Mapper
public interface UserMapper {
    User selectByPhone(@Param("phone") String phone);

    Integer insertUser(@Param("user") User user);

    User selectById(@Param("id") String id);

    Integer updateStatus(@Param("status") Integer status,@Param("id") String id);
}
